/* eslint-disable */
// @ts-ignore
import * as API from './types';

export function displayAjaxResult(field: keyof API.AjaxResult) {
  return {
    key: 'key',
  }[field];
}

export function displayCommonResponseListString(field: keyof API.CommonResponseListString) {
  return {
    message: '返回信息',
    code: '返回码',
    data: '数据',
  }[field];
}

export function displayCommonResponseQueryRecordVO(field: keyof API.CommonResponseQueryRecordVO) {
  return {
    message: '返回信息',
    code: '返回码',
    data: '数据',
  }[field];
}

export function displayCommonResponseString(field: keyof API.CommonResponseString) {
  return {
    message: '返回信息',
    code: '返回码',
    data: '数据',
  }[field];
}

export function displayCommonResponseTableDataInfo2QueryRecordVO(
  field: keyof API.CommonResponseTableDataInfo2QueryRecordVO,
) {
  return {
    message: '返回信息',
    code: '返回码',
    data: '数据',
  }[field];
}

export function displayCommonResponseWangQian(field: keyof API.CommonResponseWangQian) {
  return {
    message: '返回信息',
    code: '返回码',
    data: '数据',
  }[field];
}

export function displayJSONArray(field: keyof API.JSONArray) {
  return {};
}

export function displayJSONObject(field: keyof API.JSONObject) {
  return {
    key: 'key',
  }[field];
}

export function displayJSONObject1(field: keyof API.JSONObject1) {
  return {
    key: 'key',
  }[field];
}

export function displaykey(field: keyof API.key) {
  return {};
}

export function displayLoginBody(field: keyof API.LoginBody) {
  return {
    username: '用户名',
    password: '用户密码',
    code: '验证码',
    uuid: '唯一标识',
  }[field];
}

export function displayQueryRecordDetailsRequest(field: keyof API.QueryRecordDetailsRequest) {
  return {
    queryCode: '查询码',
  }[field];
}

export function displayQueryRecordDto(field: keyof API.QueryRecordDto) {
  return {
    documentType: '证件类型',
    fileSearchCategory: '查档类别',
    fileSearchContent: '查档内容',
    identificationNumber: '证件号码',
    reviewedBy: '查阅人',
    purposeOfFileSearch: '查图目的',
    checkFileProperties: '查档属性(房屋坐落)',
  }[field];
}

export function displayQueryRecordOnSiteDto(field: keyof API.QueryRecordOnSiteDto) {
  return {
    appointmentViewingDate: '预约查看日期',
    attachment: '附件',
    fileSearchContent: '查档内容',
    identificationNumber: '证件号码',
    purposeOfFileSearch: '查档目的',
    telephone: '电话',
    filingUnit: '查档单位',
    useType: '使用方式',
    returnDate: '归还日期',
    folderFileList: '文件列表',
    reviewedBy: '查阅人',
  }[field];
}

export function displayQueryRecordSearchDto(field: keyof API.QueryRecordSearchDto) {
  return {
    pageNum: '当前记录起始索引',
    pageSize: '每页显示记录数',
    orderByColumn: '排序列',
    isAsc: '排序的方向desc或者asc',
    reasonable: 'true 分页参数合理化',
    startTime: '预约查看日期开始日期',
    endTime: '预约查看日期结束日期',
    fileSearchContent: '查档内容',
    purposeOfFileSearch: '查档目的',
    queryCode: '查询码',
    weChatQuery: '查档单位/自然人名称',
    returnStartTime: '归还日期开始日期',
    returnEndTime: '归还日期结束日期',
    queryType: '查档类型',
    createBy: '创建人',
    telephone: '电话',
    returnStatus: '归还状态',
  }[field];
}

export function displayQueryRecordVO(field: keyof API.QueryRecordVO) {
  return {
    id: '主键',
    appointmentViewingDate: '预约查看日期',
    attachment: '附件',
    documentType: '证件类型',
    fileSearchCategory: '查档类别',
    fileSearchContent: '查档内容',
    checkFileProperties: '查档属性',
    filingUnit: '查档单位',
    identificationNumber: '证件号码',
    purposeOfFileSearch: '查档目的',
    queryCode: '查询码',
    queryType: '查档类型',
    reviewedBy: '查阅人',
    telephone: '电话',
    viewingMethod: '查看方式',
    auditStatus: '10:科员审核中 11:科长审核中 20:已通过 30:已驳回',
    useType: '使用方式',
    returnDate: '归还日期',
    trueReturnDate: 'trueReturnDate',
    returnStatus: '归还状态',
    folderFileList:
      '文件列表[    {        "id":23,        "icon":"file-blue",        "label":"文件名3",        "value":23,        "sortNo":3,        "fileUrl":"https://courses.cs.washington.edu/courses/cse403/11sp/lectures/lecture08-uml1.pdf3",        "fileName":"文件名3",        "folderId":22,        "projectId":2,        "opinionStatus":0,        "projectItemId":11    }]',
  }[field];
}

export function displayRealestLocationRequest(field: keyof API.RealestLocationRequest) {
  return {
    idNo: '身份证号',
    htbh: 'htbh',
  }[field];
}

export function displaysubmitShenqingidParams(field: keyof API.submitShenqingidParams) {
  return {
    id: 'id',
  }[field];
}

export function displayTableDataInfo2QueryRecordVO(field: keyof API.TableDataInfo2QueryRecordVO) {
  return {
    total: '总记录数',
    rows: '列表数据',
  }[field];
}

export function displayTiaoBanRequest(field: keyof API.TiaoBanRequest) {
  return {
    url: 'url',
    httpBodyJSONObject: 'httpBodyJSONObject',
  }[field];
}

export function displayWangQian(field: keyof API.WangQian) {
  return {
    totalAmount: 'totalAmount',
    wangQianDetails: 'new ArrayList<>()',
  }[field];
}

export function displayWangQianDetail(field: keyof API.WangQianDetail) {
  return {
    FH: 'FH',
    FWZL: 'FWZL',
    TNJZMJ: 'TNJZMJ',
    HTZT: 'HTZT',
    XQMC: 'XQMC',
    SFZH: 'SFZH',
    HTRQ: 'HTRQ',
    FWYT: 'FWYT',
    fzhtje: 'fzhtje',
    JZMJ: 'JZMJ',
    LDH: 'LDH',
    CXH: 'CXH',
    DYH: 'DYH',
    FKFS: 'FKFS',
    HTBH: 'HTBH',
    LXDH: 'LXDH',
    TDXZ: 'TDXZ',
    XM: 'XM',
    XGRLX: 'XGRLX',
    SFK: 'SFK',
    HTLX: 'HTLX',
    QXMC: 'QXMC',
  }[field];
}
